<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style  type="text/css">
			#fruit{
				border: 2px solid red;
			}
		</style>
		<script src="../js/jquery-3.4.1.min.js"></script>
		<script>
			$(function(){
				//alert($("#fruit").height());
				$("#fruit").height(2000);
				$("#fruit li").last().css("font-size","60px").end().first().css("color","red");
			});
		</script>
	</head>
	<body>
		<ul id="fruit">
			<li>桃子</li>
			<li>梨子</li>
			<li>杏子</li>
			<li>aaa</li>
			<li>fff</li>
			<li>hhh</li>
			<li>yyyy</li>
			<li>6666</li>

		</ul>
	</body>
</html>
